package com.ruicar.afs.cloud.risk.tortoise.dto.response.apply;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.ruicar.afs.cloud.risk.tortoise.dto.response.GwtRefData;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description
 * @Author Peng Jinbo
 * @Date 2020/07/27 18:16
 */
@Data
@Builder
@AllArgsConstructor
@ApiModel("001场景正式进件业务数据 - applyInfo")
public class GwtApplyBean extends GwtRefData implements Serializable {

    /**
     * Ca main id
     */
    @JsonInclude
    @JSONField(name = "camainid")
    @JsonProperty("camainid")
    private String caMainId;

    /**
     * Application no
     */
    @JsonInclude
    @JSONField(name = "applicationno")
    @JsonProperty("applicationno")
    private String applicationNo;

    /**
     * Sys callback id
     */
    @JsonInclude
    @JSONField(name = "responseKey")
    @JsonProperty("responseKey")
    private String sysCallbackId;

    /**
     * Apply
     */
    @JsonInclude
    @JSONField(name = "applyinfo")
    @JsonProperty("applyinfo")
    private GwtApply apply;

    /**
     * Customer
     */
    @JsonInclude
    @JSONField(name = "peopleinfoa")
    @JsonProperty("peopleinfoa")
    private GwtCustomer customer;

    /**
     * Sponsor
     */
    @JsonInclude
    @JSONField(name = "peopleinfoc")
    @JsonProperty("peopleinfoc")
    private GwtCustomer sponsor;

    /**
     * Together person
     */
    @JsonInclude
    @JSONField(name = "peopleinfob")
    @JsonProperty("peopleinfob")
    private GwtCustomer togetherPerson;

}
